< previous page page_386 next page >

Page 386
12180-0386a.gif
Figure 17.4.
The hierarchy of file classes.
The Classes and Forms of the Subsystem
The forms in the subsystem include
frmFileFactory
frmTransferProgress
The frmFileFactory form is not only a visual object for displaying information in files to your users, it is also helpful in debugging your classes in this subsystem to make sure the information is being saved (persisted) to the file in the format you desire. The frmTransferProgress form displays the progress of the number of records copied from or to a file. This form is helpful when dealing with very large files.
The notable classes in this subsystem include
IPersistence
IFileSubsystem
GeneralFile
RandomFile
SequentialFile
BinaryFile
RichTextFile
The IPersistence class is important as an organizer of any event triggering the persistence of information, whether in a database or regular file. This class is not owned by the subsystem but is the gateway for the flow of events with a given client. The IFileSubsystem class is the interface for the subsystem, making sure that the proper response to an incoming event or message is handled as expected. The TaskProgress controller class controls the frmTaskProgress form.

 
< previous page page_386 next page >

If you like this book, buy it!